package com.club.service.impl;

import com.club.mapper.ChartMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.HashMap;
import java.util.List;

@Service
public class ChartsServiceImpl implements com.club.service.ChartsService {

    // 注入ChartMapper
    @Autowired
    ChartMapper chartMapper;
    // 实现chartA方法
    @Override
    public List<HashMap> chartA() {
        // 调用chartMapper的chartA方法，返回结果
        return chartMapper.chartA();
    }

    // 其他图表方法的实现
}
